Skip to content

Update generated code for private-preview#2206

Merged
stripe-openapi[bot] merged 12 commits intoprivate-previewfrom
latest-codegen-private-preview
Apr 24, 2026
Merged

Update generated code for private-preview#2206
stripe-openapi[bot] merged 12 commits intoprivate-previewfrom
latest-codegen-private-preview

Conversation

@stripe-openapi
Copy link
Copy Markdown
Contributor

@stripe-openapi stripe-openapi Bot commented Apr 17, 2026

Codegen for openapi v2253 and proto spec .

Changelog

  • Add support for new resources v2.commerce.ProductCatalogImport, v2.core.ApprovalRequest, v2.extend.WorkflowRun, v2.extend.Workflow, v2.iam.ActivityLog, v2.network.BusinessProfile, and v2.orchestratedcommerce.Agreement
  • ⚠️ Remove support for resources v2.core.WorkflowRun and v2.core.Workflow
  • Add support for confirm, create, list, retrieve, and terminate methods on resource v2.orchestratedcommerce.Agreement
  • Add support for me and retrieve methods on resource v2.network.BusinessProfile
  • Add support for list method on resource v2.iam.ActivityLog
  • Add support for list and retrieve methods on resource v2.extend.WorkflowRun
  • Add support for invoke, list, and retrieve methods on resource v2.extend.Workflow
  • Add support for cancel, execute, list, retrieve, and submit methods on resource v2.core.ApprovalRequest
  • Add support for create and retrieve methods on resource v2.commerce.ProductCatalogImport
  • ⚠️ Remove support for list and retrieve methods on resource v2.core.WorkflowRun
  • ⚠️ Remove support for invoke, list, and retrieve methods on resource v2.core.Workflow
  • Add support for renew_onboarding_link method on resource v2.core.ClaimableSandbox
  • ⚠️ Remove support for customer on sharedpayment.IssuedToken
  • Add support for billManagement and sendMoney on AccountSession.components.bills.features
  • Add support for giftCard on Charge.payment_method_details, PaymentAttemptRecord.payment_method_details, and PaymentRecord.payment_method_details
  • Add support for customPaymentMethodTypes on checkout.SessionCreateParams and checkout.Session
  • Add support for paymentRecord on checkout.Session
  • ⚠️ Remove support for sharedPaymentGrantedToken on ConfirmationTokenCreateParams.payment_method_data, PaymentIntentConfirmParams.payment_method_data, PaymentIntentCreateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_data, PaymentIntent, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
  • Add support for paymentMethod on ConfirmationToken.payment_method_preview.sepa_debit.generated_from, PaymentMethod.sepa_debit.generated_from, and sharedpayment.GrantedToken.payment_method_details.sepa_debit.generated_from
  • ⚠️ Change type of delegatedcheckout.RequestedSessionUpdateParams.fulfillment_details.selected_fulfillment_option.type and delegatedcheckout.RequestedSessionUpdateParams.fulfillment_details.selected_fulfillment_option_overrides[].type from string to enum('digital'|'shipping')
  • Add support for returnUrl on delegatedcheckout.RequestedSessionConfirmParams
  • Add support for buyerConsents on delegatedcheckout.RequestedSession
  • Add support for cryptoTransactions on issuing.Authorization, issuing.Dispute, and issuing.Transaction
  • Add support for paymentFacilitatorId and subMerchantId on issuing.Authorization.merchant_data and issuing.Transaction.merchant_data
  • Add support for identifiers on OrderCreateParams.line_items[].product_data, OrderUpdateParams.line_items[].product_data, ProductCreateParams, ProductUpdateParams, and Product
  • Add support for agentDetails on PaymentIntent
  • Add support for externalReference on PriceCreateParams and PriceUpdateParams
  • Add support for loginSucceeded and registrationSucceeded on radar.AccountEvaluation.events[] and radar.AccountEvaluationUpdateParams
  • Add support for printContent on terminal.Reader.action
  • Add support for appChannel on v2.core.ClaimableSandboxCreateParams and v2.core.ClaimableSandbox
  • Add support for onboardingLinkDetails and ownerDetails on v2.core.ClaimableSandbox
  • ⚠️ Remove support for claimUrl on v2.core.ClaimableSandbox
  • ⚠️ Remove support for ownerAccount on v2.core.ClaimableSandbox.sandbox_details
  • Add support for snapshotEvent on v2.core.Event
  • Add support for multiprocessorSettlement on v2.moneymanagement.FinancialAccount
  • Add support for caBankAccount on v2.moneymanagement.FinancialAddress.credentials and v2.moneymanagement.ReceivedCredit.bank_transfer
  • Add support for amountDetails and paymentDetails on v2.payments.OffSessionPaymentCaptureParams, v2.payments.OffSessionPaymentCreateParams, and v2.payments.OffSessionPayment
  • Add support for description on v2.payments.OffSessionPaymentCreateParams and v2.payments.OffSessionPayment
  • Add support for new value acss on enum v2.FinancialAddressCreditSimulationCreditParams.network
  • Add support for mcc on v2.payments.OffSessionPaymentCreateParams.payment_method_options.card
  • Change v2.payments.OffSessionPaymentCreateParams.payment_method_options.card.networkTransactionId to be optional
  • Add support for new values futsu and toza on enums v2.core.vault.GbBankAccountCreateParams.bankAccountType, v2.moneymanagement.OutboundSetupIntentCreateParams.payout_method_data.bank_account.bankAccountType, and v2.moneymanagement.OutboundSetupIntentUpdateParams.payout_method_data.bank_account.bankAccountType
  • Add support for new value tempo on enum v2.moneymanagement.OutboundSetupIntentCreateParams.payout_method_data.crypto_wallet.network
  • Add support for new value credentials.ca_bank_account.account_number on enums v2.moneymanagement.FinancialAddressListParams.include and v2.moneymanagement.FinancialAddressRetrieveParams.include
  • Add support for new value ca_bank_account on enum v2.moneymanagement.FinancialAddressCreateParams.type
  • Add support for new value multiprocessor_settlement on enum v2.moneymanagement.FinancialAccountListParams.types
  • Add support for storage on v2.moneymanagement.FinancialAccountUpdateParams
  • Add support for fxQuote on v2.moneymanagement.CurrencyConversionCreateParams
  • Change v2.moneymanagement.CurrencyConversionCreateParams.financialAccount to be optional
  • ⚠️ Add support for onboardingLinkDetails on v2.core.ClaimableSandboxCreateParams
  • Change type of v2.core.BatchJobCreateParams.endpoint.httpMethod from literal('post') to enum('delete'|'post')
  • Add support for new values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin on enums v2.core.AccountCreateParams.identity.business_details.id_numbers[].type, v2.core.AccountTokenCreateParams.identity.business_details.id_numbers[].type, and v2.core.AccountUpdateParams.identity.business_details.id_numbers[].type
  • Add support for new values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp on enums v2.core.AccountCreateParams.identity.individual.id_numbers[].type, v2.core.AccountPersonCreateParams.id_numbers[].type, v2.core.AccountPersonTokenCreateParams.id_numbers[].type, v2.core.AccountPersonUpdateParams.id_numbers[].type, v2.core.AccountTokenCreateParams.identity.individual.id_numbers[].type, and v2.core.AccountUpdateParams.identity.individual.id_numbers[].type
  • Add support for new value meter_event_value_too_many_digits on enums EventsV1BillingMeterErrorReportTriggeredEvent.reason.error_types[].code and EventsV1BillingMeterNoMeterFoundEvent.reason.error_types[].code
  • Add support for treasuryTransaction on EventsV2MoneyManagementTransactionCreatedEvent
  • Add support for event notifications V1AccountApplicationAuthorizedEvent, V1AccountApplicationDeauthorizedEvent, V1AccountExternalAccountCreatedEvent, V1AccountExternalAccountDeletedEvent, V1AccountExternalAccountUpdatedEvent, V1BillingPortalSessionCreatedEvent, V1EntitlementsActiveEntitlementSummaryUpdatedEvent, V2CoreHealthMeterEventSummariesDelayedFiringEvent, and V2CoreHealthMeterEventSummariesDelayedResolvedEvent
  • Add support for event notification V1AccountUpdatedEvent with related object Account
  • Add support for event notifications V1ApplicationFeeCreatedEvent and V1ApplicationFeeRefundedEvent with related object ApplicationFee
  • Add support for event notification V1ApplicationFeeRefundUpdatedEvent with related object FeeRefund
  • Add support for event notification V1BalanceAvailableEvent with related object Balance
  • Add support for event notification V1BillingAlertTriggeredEvent with related object billing.Alert
  • Add support for event notifications V1BillingPortalConfigurationCreatedEvent and V1BillingPortalConfigurationUpdatedEvent with related object billingportal.Configuration
  • Add support for event notification V1CapabilityUpdatedEvent with related object Capability
  • Add support for event notification V1CashBalanceFundsAvailableEvent with related object CashBalance
  • Add support for event notifications V1ChargeCapturedEvent, V1ChargeExpiredEvent, V1ChargeFailedEvent, V1ChargePendingEvent, V1ChargeRefundedEvent, V1ChargeSucceededEvent, and V1ChargeUpdatedEvent with related object Charge
  • Add support for event notifications V1ChargeDisputeClosedEvent, V1ChargeDisputeCreatedEvent, V1ChargeDisputeFundsReinstatedEvent, V1ChargeDisputeFundsWithdrawnEvent, and V1ChargeDisputeUpdatedEvent with related object Dispute
  • Add support for event notifications V1ChargeRefundUpdatedEvent, V1RefundCreatedEvent, V1RefundFailedEvent, and V1RefundUpdatedEvent with related object Refund
  • Add support for event notifications V1CheckoutSessionAsyncPaymentFailedEvent, V1CheckoutSessionAsyncPaymentSucceededEvent, V1CheckoutSessionCompletedEvent, and V1CheckoutSessionExpiredEvent with related object checkout.Session
  • Add support for event notifications V1ClimateOrderCanceledEvent, V1ClimateOrderCreatedEvent, V1ClimateOrderDelayedEvent, V1ClimateOrderDeliveredEvent, and V1ClimateOrderProductSubstitutedEvent with related object climate.Order
  • Add support for event notifications V1ClimateProductCreatedEvent and V1ClimateProductPricingUpdatedEvent with related object climate.Product
  • Add support for event notifications V1CouponCreatedEvent, V1CouponDeletedEvent, and V1CouponUpdatedEvent with related object Coupon
  • Add support for event notifications V1CreditNoteCreatedEvent, V1CreditNoteUpdatedEvent, and V1CreditNoteVoidedEvent with related object CreditNote
  • Add support for event notifications V1CustomerCreatedEvent, V1CustomerDeletedEvent, and V1CustomerUpdatedEvent with related object Customer
  • Add support for event notifications V1CustomerSubscriptionCreatedEvent, V1CustomerSubscriptionDeletedEvent, V1CustomerSubscriptionPausedEvent, V1CustomerSubscriptionPendingUpdateAppliedEvent, V1CustomerSubscriptionPendingUpdateExpiredEvent, V1CustomerSubscriptionResumedEvent, V1CustomerSubscriptionTrialWillEndEvent, and V1CustomerSubscriptionUpdatedEvent with related object Subscription
  • Add support for event notifications V1CustomerTaxIdCreatedEvent, V1CustomerTaxIdDeletedEvent, and V1CustomerTaxIdUpdatedEvent with related object TaxId
  • Add support for event notification V1CustomerCashBalanceTransactionCreatedEvent with related object CustomerCashBalanceTransaction
  • Add support for event notification V1FileCreatedEvent with related object File
  • Add support for event notifications V1FinancialConnectionsAccountCreatedEvent, V1FinancialConnectionsAccountDeactivatedEvent, V1FinancialConnectionsAccountDisconnectedEvent, V1FinancialConnectionsAccountReactivatedEvent, V1FinancialConnectionsAccountRefreshedBalanceEvent, V1FinancialConnectionsAccountRefreshedOwnershipEvent, and V1FinancialConnectionsAccountRefreshedTransactionsEvent with related object financialconnections.Account
  • Add support for event notifications V1IdentityVerificationSessionCanceledEvent, V1IdentityVerificationSessionCreatedEvent, V1IdentityVerificationSessionProcessingEvent, V1IdentityVerificationSessionRedactedEvent, V1IdentityVerificationSessionRequiresInputEvent, and V1IdentityVerificationSessionVerifiedEvent with related object identity.VerificationSession
  • Add support for event notifications V1InvoiceCreatedEvent, V1InvoiceDeletedEvent, V1InvoiceFinalizationFailedEvent, V1InvoiceFinalizedEvent, V1InvoiceMarkedUncollectibleEvent, V1InvoiceOverdueEvent, V1InvoiceOverpaidEvent, V1InvoicePaidEvent, V1InvoicePaymentActionRequiredEvent, V1InvoicePaymentFailedEvent, V1InvoicePaymentSucceededEvent, V1InvoiceSentEvent, V1InvoiceUpcomingEvent, V1InvoiceUpdatedEvent, V1InvoiceVoidedEvent, and V1InvoiceWillBeDueEvent with related object Invoice
  • Add support for event notification V1InvoicePaymentPaidEvent with related object InvoicePayment
  • Add support for event notifications V1InvoiceitemCreatedEvent and V1InvoiceitemDeletedEvent with related object InvoiceItem
  • Add support for event notifications V1IssuingAuthorizationCreatedEvent, V1IssuingAuthorizationRequestEvent, and V1IssuingAuthorizationUpdatedEvent with related object issuing.Authorization
  • Add support for event notifications V1IssuingCardCreatedEvent and V1IssuingCardUpdatedEvent with related object issuing.Card
  • Add support for event notifications V1IssuingCardholderCreatedEvent and V1IssuingCardholderUpdatedEvent with related object issuing.Cardholder
  • Add support for event notifications V1IssuingDisputeClosedEvent, V1IssuingDisputeCreatedEvent, V1IssuingDisputeFundsReinstatedEvent, V1IssuingDisputeFundsRescindedEvent, V1IssuingDisputeSubmittedEvent, and V1IssuingDisputeUpdatedEvent with related object issuing.Dispute
  • Add support for event notifications V1IssuingPersonalizationDesignActivatedEvent, V1IssuingPersonalizationDesignDeactivatedEvent, V1IssuingPersonalizationDesignRejectedEvent, and V1IssuingPersonalizationDesignUpdatedEvent with related object issuing.PersonalizationDesign
  • Add support for event notifications V1IssuingTokenCreatedEvent and V1IssuingTokenUpdatedEvent with related object issuing.Token
  • Add support for event notifications V1IssuingTransactionCreatedEvent, V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, and V1IssuingTransactionUpdatedEvent with related object issuing.Transaction
  • Add support for event notification V1MandateUpdatedEvent with related object Mandate
  • Add support for event notifications V1PaymentIntentAmountCapturableUpdatedEvent, V1PaymentIntentCanceledEvent, V1PaymentIntentCreatedEvent, V1PaymentIntentPartiallyFundedEvent, V1PaymentIntentPaymentFailedEvent, V1PaymentIntentProcessingEvent, V1PaymentIntentRequiresActionEvent, and V1PaymentIntentSucceededEvent with related object PaymentIntent
  • Add support for event notifications V1PaymentLinkCreatedEvent and V1PaymentLinkUpdatedEvent with related object PaymentLink
  • Add support for event notifications V1PaymentMethodAttachedEvent, V1PaymentMethodAutomaticallyUpdatedEvent, V1PaymentMethodDetachedEvent, and V1PaymentMethodUpdatedEvent with related object PaymentMethod
  • Add support for event notifications V1PayoutCanceledEvent, V1PayoutCreatedEvent, V1PayoutFailedEvent, V1PayoutPaidEvent, V1PayoutReconciliationCompletedEvent, and V1PayoutUpdatedEvent with related object Payout
  • Add support for event notifications V1PersonCreatedEvent, V1PersonDeletedEvent, and V1PersonUpdatedEvent with related object Person
  • Add support for event notifications V1PlanCreatedEvent, V1PlanDeletedEvent, and V1PlanUpdatedEvent with related object Plan
  • Add support for event notifications V1PriceCreatedEvent, V1PriceDeletedEvent, and V1PriceUpdatedEvent with related object Price
  • Add support for event notifications V1ProductCreatedEvent, V1ProductDeletedEvent, and V1ProductUpdatedEvent with related object Product
  • Add support for event notifications V1PromotionCodeCreatedEvent and V1PromotionCodeUpdatedEvent with related object PromotionCode
  • Add support for event notifications V1QuoteAcceptedEvent, V1QuoteCanceledEvent, V1QuoteCreatedEvent, and V1QuoteFinalizedEvent with related object Quote
  • Add support for event notifications V1RadarEarlyFraudWarningCreatedEvent and V1RadarEarlyFraudWarningUpdatedEvent with related object radar.EarlyFraudWarning
  • Add support for event notifications V1ReviewClosedEvent and V1ReviewOpenedEvent with related object Review
  • Add support for event notifications V1SetupIntentCanceledEvent, V1SetupIntentCreatedEvent, V1SetupIntentRequiresActionEvent, V1SetupIntentSetupFailedEvent, and V1SetupIntentSucceededEvent with related object SetupIntent
  • Add support for event notification V1SigmaScheduledQueryRunCreatedEvent with related object sigma.ScheduledQueryRun
  • Add support for event notifications V1SourceCanceledEvent, V1SourceChargeableEvent, V1SourceFailedEvent, and V1SourceRefundAttributesRequiredEvent with related object Source
  • Add support for event notifications V1SubscriptionScheduleAbortedEvent, V1SubscriptionScheduleCanceledEvent, V1SubscriptionScheduleCompletedEvent, V1SubscriptionScheduleCreatedEvent, V1SubscriptionScheduleExpiringEvent, V1SubscriptionScheduleReleasedEvent, and V1SubscriptionScheduleUpdatedEvent with related object SubscriptionSchedule
  • Add support for event notification V1TaxSettingsUpdatedEvent with related object tax.Settings
  • Add support for event notifications V1TaxRateCreatedEvent and V1TaxRateUpdatedEvent with related object TaxRate
  • Add support for event notifications V1TerminalReaderActionFailedEvent, V1TerminalReaderActionSucceededEvent, and V1TerminalReaderActionUpdatedEvent with related object terminal.Reader
  • Add support for event notifications V1TestHelpersTestClockAdvancingEvent, V1TestHelpersTestClockCreatedEvent, V1TestHelpersTestClockDeletedEvent, V1TestHelpersTestClockInternalFailureEvent, and V1TestHelpersTestClockReadyEvent with related object testhelpers.TestClock
  • Add support for event notifications V1TopupCanceledEvent, V1TopupCreatedEvent, V1TopupFailedEvent, V1TopupReversedEvent, and V1TopupSucceededEvent with related object Topup
  • Add support for event notifications V1TransferCreatedEvent, V1TransferReversedEvent, and V1TransferUpdatedEvent with related object Transfer
  • Add support for event notifications V2CommerceProductCatalogImportsFailedEvent, V2CommerceProductCatalogImportsProcessingEvent, V2CommerceProductCatalogImportsSucceededEvent, and V2CommerceProductCatalogImportsSucceededWithErrorsEvent with related object v2.commerce.ProductCatalogImport
  • Add support for event notifications V2CoreApprovalRequestApprovedEvent, V2CoreApprovalRequestCanceledEvent, V2CoreApprovalRequestFailedEvent, V2CoreApprovalRequestRejectedEvent, and V2CoreApprovalRequestSucceededEvent with related object v2.core.ApprovalRequest
  • Add support for event notification V2CoreClaimableSandboxUpdatedEvent with related object v2.core.ClaimableSandbox
  • Add support for event notifications V2ExtendWorkflowRunFailedEvent, V2ExtendWorkflowRunStartedEvent, and V2ExtendWorkflowRunSucceededEvent with related object v2.extend.WorkflowRun
  • Add support for event notifications V2OrchestratedCommerceAgreementConfirmedEvent, V2OrchestratedCommerceAgreementCreatedEvent, V2OrchestratedCommerceAgreementPartiallyConfirmedEvent, and V2OrchestratedCommerceAgreementTerminatedEvent with related object v2.orchestratedcommerce.Agreement
  • ⚠️ Remove support for event notification V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent with related object v2.core.ClaimableSandbox
  • Add support for error type FxQuoteExpiredException

@stripe-openapi stripe-openapi Bot requested a review from a team as a code owner April 17, 2026 18:29
@stripe-openapi stripe-openapi Bot requested review from mbroshi-stripe and removed request for a team and mbroshi-stripe April 17, 2026 18:29
@stripe-openapi stripe-openapi Bot enabled auto-merge April 17, 2026 18:29
stripe-openapi Bot and others added 11 commits April 17, 2026 20:08
* Fix missing stripeContext in RequestOptions.toBuilderFullCopy()

* Address review feedback: remove redundant test and fix formatting
* Update generated code for v2240 and

* Update generated code for v2249 and

* Update generated code for v2252 and

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Michael Broshi <94012587+mbroshi-stripe@users.noreply.github.com>
@stripe-openapi stripe-openapi Bot merged commit ea2027c into private-preview Apr 24, 2026
14 of 15 checks passed
@stripe-openapi stripe-openapi Bot deleted the latest-codegen-private-preview branch April 24, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants